﻿<?xml version="1.0" encoding="utf-8" ?>
<Level Name="Test">
	<SunLight>
		<Position>-20.0 20.0 10.0</Position>	   
	</SunLight>
	
	<SkyBox>
		<Model>Data\\Models\\SkyCube.mood</Model>
		<Texture>Data\\Textures\\SkyBox Iceland\\skybox_iceland</Texture>
		<Shader>Data\\Shaders\\SkyCubeTexture</Shader>
		<Scale>200.0</Scale>
	</SkyBox>
<!--
	<Terrain>
		<Class>SkyBurner:SkyBurner.HeightmapTerrain</Class>
		<Size>256</Size>
		<Scale>6.0 1.0 10.0</Scale>
		<PatchCount>4</PatchCount>
		<Translate>-20.0</Translate>

		<Custom>
			<Heightmap>Data\\Terrains\\terrain_mars_256x256.raw</Heightmap>
			<Texture>Data\\Textures\\Terrain_Ice</Texture>
			<TextureDetail>Data\\Textures\\Terrain_Snow</TextureDetail>
			<Shader>Data\\Shaders\\InfiniteTerrain</Shader>
			<TextureRepeat>4.0 4.0</TextureRepeat>
		</Custom>

		<LightDirection>0.2 -0.8 -1.0</LightDirection>
		<LightAmbient>0.3 0.3 0.4 1.0</LightAmbient>
		<LightDiffuse>0.9 1.0 1.0 1.0</LightDiffuse>
	</Terrain>
-->
	<Terrain>
		<Class>SkyBurner:SkyBurner.MOODTerrain</Class>
		<Size>256</Size>
		<Scale>1.0 1.0 1.0</Scale>
		<PatchCount>4</PatchCount>
		<Translate>0.0</Translate>

		<Custom>
			<Model>Data\\Terrains\\terrain_model_test.mood</Model>	
			<Texture>Data\\Textures\\Terrain_Ice</Texture>
			<TextureDetail>Data\\Textures\\Terrain_Snow</TextureDetail>
			<Shader>Data\\Shaders\\InfiniteTerrain</Shader>
			<TextureRepeat>4.0 4.0</TextureRepeat>
		</Custom>

		<LightDirection>0.2 -0.8 -1.0</LightDirection>
		<LightAmbient>0.3 0.3 0.4 1.0</LightAmbient>
		<LightDiffuse>0.9 1.0 1.0 1.0</LightDiffuse>
	</Terrain>

	<Player>
		<Model>Data\\Models\\starfighter.mood</Model>
		<MoveSpeed>0.05 0.003 0.03</MoveSpeed>
		<RollSpeed>0.001</RollSpeed>
		<MoveConstrain>100.0 1.0 0.0</MoveConstrain>
		<FireLifeTime>5000.0</FireLifeTime>
		<FireSpeed>0.1</FireSpeed>
		<FireSize>0.25</FireSize>
		<FireDamage>5.0</FireDamage>
		<FireRadius>0.2</FireRadius>
		<RocketLifeTime>3000.0</RocketLifeTime>
		<RocketSpeed>0.3</RocketSpeed>
		<RocketDamage>10.0</RocketDamage>
		<RocketRadius>1.0</RocketRadius>
	</Player>

	<EnemyUnits AIActive="1">
		<Unit ControllerClass="SkyBurner.AI.EnemyAIHandler_Generic" UnitControllerClass="SkyBurner.AI.EnemyUnit_Simple">
			<Model>Data\\Models\\hunter.mood</Model>
			<UnitCount>50</UnitCount>
			<UnitSpawnInterval>500.0</UnitSpawnInterval>
			<LifeTime>10000.0</LifeTime>
			<FireInterval>1000.0</FireInterval>
			<FireRadius>0.3</FireRadius>
			<FireDamage>2.0</FireDamage>
			<FireSpeed>0.02</FireSpeed>
			<FireLifeTime>5000.0</FireLifeTime>
		</Unit>
	
		<Unit ControllerClass="SkyBurner.AI.EnemyAIHandler_Generic" UnitControllerClass="SkyBurner.AI.EnemyUnit_Bomber">
			<Model>Data\\Models\\bomber.mood</Model>
			<UnitCount>5</UnitCount>
			<UnitSpawnInterval>10000.0</UnitSpawnInterval>
			<LifeTime>18000.0</LifeTime>
			<FireInterval>1000.0</FireInterval>
			<FireRadius>1.0</FireRadius>
			<FireDamage>20.0</FireDamage>
			<FireSpeed>0.1</FireSpeed>
			<FireLifeTime>10000.0</FireLifeTime>
		</Unit>

		<Unit ControllerClass="SkyBurner.AI.EnemyAIHandler_Generic" UnitControllerClass="SkyBurner.AI.EnemyUnit_Seeker">
			<Model>Data\\Models\\lizard.mood</Model>
			<UnitCount>1</UnitCount>
			<UnitSpawnInterval>0.0</UnitSpawnInterval>
			<PlayerPositionCheckInterval>10.0</PlayerPositionCheckInterval>
			<MinDistanceFromPlayer>20.0</MinDistanceFromPlayer>
			<UnitSpeed>0.00001</UnitSpeed>
			<FireInterval>200.0</FireInterval>
			<FireRadius>0.3</FireRadius>
			<FireDamage>5.0</FireDamage>
			<FireSpeed>0.01</FireSpeed>
			<FireLifeTime>2000.0</FireLifeTime>
		</Unit>

		<Unit ControllerClass="SkyBurner.AI.EnemyAIHandler_Generic" UnitControllerClass="SkyBurner.AI.EnemyUnit_Spin">
			<Model>Data\\Models\\hunter.mood</Model>
			<UnitCount>10</UnitCount>
			<UnitSpeed>0.001</UnitSpeed>
			<UnitSpawnInterval>1000.0</UnitSpawnInterval>
			<UnitVerticalSpeed>0.0005</UnitVerticalSpeed>
			<RotationSpan>4.0 2.0 4.0</RotationSpan>
			<RotationRadius>5.0</RotationRadius>
			<MinDistanceFromPlayer>15.0</MinDistanceFromPlayer>
			<EndTime>40</EndTime>
			<FireRadius>0.2</FireRadius>
			<FireDamage>5.0</FireDamage>
			<FireSpeed>0.008</FireSpeed>
			<FireLifeTime>5000.0</FireLifeTime>
			<FireInterval>400.0</FireInterval>
		</Unit>

		<Unit ControllerClass="SkyBurner.AI.EnemyAIHandler_Generic" UnitControllerClass="SkyBurner.AI.EnemyUnit_Simple">
			<Model>Data\\Models\\hunter.mood</Model>
			<UnitCount>50</UnitCount>
			<UnitSpawnInterval>500.0</UnitSpawnInterval>
			<LifeTime>10000.0</LifeTime>
			<FireInterval>1000.0</FireInterval>
			<FireRadius>0.3</FireRadius>
			<FireDamage>2.0</FireDamage>
			<FireSpeed>0.02</FireSpeed>
			<FireLifeTime>5000.0</FireLifeTime>
		</Unit>

		<Unit ControllerClass="SkyBurner.AI.EnemyAIHandler_Generic" UnitControllerClass="SkyBurner.AI.EnemyUnit_Seeker">
			<Model>Data\\Models\\lizard.mood</Model>
			<UnitCount>1</UnitCount>
			<UnitSpawnInterval>0.0</UnitSpawnInterval>
			<PlayerPositionCheckInterval>10.0</PlayerPositionCheckInterval>
			<MinDistanceFromPlayer>20.0</MinDistanceFromPlayer>
			<UnitSpeed>0.00001</UnitSpeed>
			<FireInterval>200.0</FireInterval>
			<FireRadius>0.3</FireRadius>
			<FireDamage>5.0</FireDamage>
			<FireSpeed>0.01</FireSpeed>
			<FireLifeTime>2000.0</FireLifeTime>
		</Unit>
	</EnemyUnits>	
</Level>